//
//  HomeTopCell.swift
//  QualityControlSystem
//
//  Created by dundun on 17/1/12.
//  Copyright © 2017年 com.mask. All rights reserved.
//

import UIKit

class HomeTopCell: UITableViewCell {
    
    var allApplicationBlock: (() -> Void)?
    var projectManagementBlock: (() -> Void)?
    var mailSystemBlock: (() -> Void)?
    var officeSystemBlock: (() -> Void)?
    var siteManagementBlock: (() -> Void)?
    var projectProvidedBlock: (() -> Void)?

    override func awakeFromNib() {
        super.awakeFromNib()
        // Initialization code
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        // Configure the view for the selected state
    }
    
    @IBAction func allApplicationBtnClicked(_ sender: UIButton) {
        allApplicationBlock!()
    }
    
    @IBAction func projectManagementBtnClicked(_ sender: UIButton) {
        projectProvidedBlock!()
    }
    
    @IBAction func mailSystemBtnClicked(_ sender: UIButton) {
        mailSystemBlock!()
    }
    
    @IBAction func officeSystemBtnClicked(_ sender: UIButton) {
        officeSystemBlock!()
    }
    
    @IBAction func siteManagementBtnClicked(_ sender: UIButton) {
        siteManagementBlock!()
    }
    
    @IBAction func projectProvidedBtnClicked(_ sender: UIButton) {
        projectProvidedBlock!()
    }
    
    
}
